/**
 *  后台商品订单接口
 */
import request from '@/utils/request'

export function getOrder(params) {
  return request({
    url: '/order/ordshow',
    method: 'get',
    params
  })
}

export function doPay(data) {
  return request({
    url: '/order/dopay',
    method: 'post',
    data
  })
}

export function refOrd(data) {
  return request({
    url: '/order/reford',
    method: 'post',
    data
  })
}

export function sendOrd(data) {
  return request({
    url: '/order/ordsed',
    method: 'post',
    data
  })
}

//积分商品接口
export function getJOrder(params) {
  return request({
    url: '/order/jordshow',
    method: 'get',
    params
  })
}

export function sendJOrd(data) {
  return request({
    url: '/order/jordsed',
    method: 'post',
    data
  })
}